package com.qingge.springboot.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.qingge.springboot.entity.Stu;
import com.qingge.springboot.entity.Subject;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author xyc
 * @since 2022-04-13
 */
public interface ISubjectService extends IService<Subject> {
    Integer getSubjectCount();

    Page<Subject> findPage(Page<Subject> objectPage);

    Page<Subject> findPage2(Page<Subject> objectPage);

    List<Subject> findSubjectByName(String stuName);

    List<Subject> findSubjectById(Integer id);

    String findStuName(Integer id);

    void clearFlag();

    void setFlagNew(Integer id);

    Integer showCourse(String username);

    void chooseFlag(String username);

    List<Subject> inputScore(Integer id);

    String findSubjectNum(Integer id);
}
